package com.assignwork.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName ShiftRuleTimeSpaceSubmitDTO
 * @Description 班组规则时间段提交DTO
 * @Author dujianyu
 * @Date 2023/12/4 8:59
 */
@Data
public class ShiftRuleTimeSpaceSubmitDTO {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "ID")
    private Long id;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "规则ID")
    private Long ruleId;

    @ApiModelProperty(value = "码值")
    private Integer code;

    @ApiModelProperty(value = "时间段")
    private String timeSpace;

}
